package cn.huaguo.types.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum ResponseCode {

    SUCCESS("0000", "成功"),
    UN_ERROR("0001", "未知失败"),
    ILLEGAL_PARAMETER("0002", "非法参数"),
    TASK_COUNT_NOT_ENOUGH("0003", "任务库存不足"),
    NO_AUTHORIZED_HAND_TASK("0004", "无权限操作此任务"),
    NO_TASK_COUNT_RUSH("0005", "单用户只能同时接两个任务！"),
    INDEX_DUP("0006", "唯一索引冲突"),
    IS_COMMON_TASK("0007", "该任务类型不支持抢单，请自行添加联系方式交易·？·"),
    ;

    private String code;
    private String info;

}
